package com.buba.personnel.service.impl;

import com.buba.personnel.dao.UserStateDao;
import com.buba.personnel.service.UserStateService;
import com.buba.pojo.UserState;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserStateServiceImpl implements UserStateService {
    /**
     * 查询员工状态
     * @return
     */
    @Autowired
    private UserStateDao userStateDao;
    @Override
    public List<UserState> selUserState() {
        return userStateDao.selUserState();
    }
}
